'''
Author: Donald duck tang5722917@163.com
Date: 2024-03-26 20:32:21
LastEditors: Donald duck tang5722917@163.com
LastEditTime: 2024-03-28 11:10:34
Description: 
Copyright (c) 2024 by Donald duck email: tang5722917@163.com, All Rights Reserved.
'''
Control_type = {
    '.control': 'control',
    '.endc'  : 'endc',
    '.py'    : 'py',
    '.endpy' : 'endpy',
    '.octave': 'ocatve',
    '.endoct': 'endoct',
    '.end'   : 'end',
    '.op'    : 'op',
    '.dc'    : 'dc',
    '.ac'    : 'ac',
    'print'  : 'print',
    'probe'  : 'probe',
}


def control_lookup(value) :
    type = Control_type.get(value.lower())
    return type
